package com.fshows.leshuapay.sdk.client;

import com.fshows.leshuapay.sdk.exception.LeshuaException;
import com.fshows.leshuapay.sdk.request.LeshuaBizRequest;
import com.fshows.leshuapay.sdk.response.LeshuaMachineBaseResponse;

/**
 * @author huanghai
 * @version 1.0 LeshuaMachineBindClient
 * @date 2021/1/25 16:04
 */
public interface LeshuaMachineBindClient {
    /**
     * 乐刷硬件绑定相关
     *
     * @param request 商户入参
     * @param url     实际业务请求地址
     * @param timeout 超时设置，单位毫秒
     * @param <T>
     * @return
     * @throws LeshuaException
     */
    <T> LeshuaMachineBaseResponse<T> execute(LeshuaBizRequest<T> request, String url, Integer timeout) throws LeshuaException;

}
